#include<stdio.h>

int main(void){
    int height;
    int row = 0;
    scanf("Height:%d",&height);
    
    
    do{
        scanf("Height:%d",&height);
    }
    while (height < 1 || height > 8);
    
    while (row < height)
    {
        for(int i = 0;i < height - row;i++){
            printf(" ");
        }
        for(int j = 0;j < row + 1;j++){
            printf("#");
        }

        printf("\n");
        row++;

    }

    return 0;
    





}